package com.yuedou.api.entity.product;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 商品图片对象 product_img
 *
 * @author ruoyi
 * @date 2022-07-11
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("product_img")
public class ProductImg implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * $column.columnComment
     */
    private Integer productId;

    /**
     * $column.columnComment
     */
    private String imgUrl;

    /**
     * 图片类型 0 - 商品图片  1 - 商品轮播图
     */
    private Integer imgType;

    /**
     * $column.columnComment
     */
    private Integer sort;

}
